// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import Teacher from '../views/Teacher.vue'
import Position from '../views/Position.vue'
import Title from '../views/Title.vue'
import Department from '../views/Department.vue'
import Report from '../views/Report.vue'

const routes = [
  {
    path: '/',
    name: 'Department',
    component: Department
  },
  {
    path: '/report',
    name: 'Report',
    component: Report
  },
  {
    path: '/department',
    name: 'Department',
    component: Department
  },
  // {
  //   path: '/reward',
  //   name: 'Reward',
  //   component: Reward
  // },
  {
    path: '/position',
    name: 'Position',
    component: Position
  },
  {
    path: '/teacher',
    name: 'Teacher',
    component: Teacher
  },
  {
    path: '/title',
    name: 'Title',
    component: Title
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router